package com.ruoyi.recipe.mapper;

import java.util.List;
import com.ruoyi.recipe.domain.RecipeBrowsingHistory;

/**
 * 菜品浏览历史Mapper接口
 * 
 * @author ruoyi
 * @date 2025-01-21
 */
public interface RecipeBrowsingHistoryMapper 
{
    /**
     * 查询菜品浏览历史
     * 
     * @param historyId 菜品浏览历史主键
     * @return 菜品浏览历史
     */
    public RecipeBrowsingHistory selectRecipeBrowsingHistoryByHistoryId(Long historyId);

    /**
     * 查询菜品浏览历史列表
     * 
     * @param recipeBrowsingHistory 菜品浏览历史
     * @return 菜品浏览历史集合
     */
    public List<RecipeBrowsingHistory> selectRecipeBrowsingHistoryList(RecipeBrowsingHistory recipeBrowsingHistory);

    /**
     * 新增菜品浏览历史
     * 
     * @param recipeBrowsingHistory 菜品浏览历史
     * @return 结果
     */
    public int insertRecipeBrowsingHistory(RecipeBrowsingHistory recipeBrowsingHistory);

    /**
     * 修改菜品浏览历史
     * 
     * @param recipeBrowsingHistory 菜品浏览历史
     * @return 结果
     */
    public int updateRecipeBrowsingHistory(RecipeBrowsingHistory recipeBrowsingHistory);

    /**
     * 删除菜品浏览历史
     * 
     * @param historyId 菜品浏览历史主键
     * @return 结果
     */
    public int deleteRecipeBrowsingHistoryByHistoryId(Long historyId);

    /**
     * 批量删除菜品浏览历史
     * 
     * @param historyIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRecipeBrowsingHistoryByHistoryIds(String[] historyIds);
}
